package com.wx.nbregisterserver.context;

import org.springframework.stereotype.Component;

/**
 * 计数器公共区域
 */
@Component
public class CountTimeContext {


    public CountTimeContext(){
        System.out.println("CountTimeContext:注入IOC容器");
    }
    private Integer count=0;

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
}
